package com.fangshuoit.dataobject;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;

/**
 * Created by 范承波 on 2017/9/25.
 * email：1197691639@qq.com
 * phone：18169015880
 */
@Entity
@Data
@Table(name = "product_info")
public class ProductInfo {
    @Id
    private String productId;

    //名字
    private String productName;

    //单价
    private BigDecimal productPrice;

    //库存
    private Integer productStock;

    //描述
    private String productDescription;

    //小图
    private String productIcon;

    //商品状态   0正常   1下架
    private Integer productStatus;

    //类目编号
    private Integer categoryType;


}
